package com.ruoyi.robot.mapper;

import java.util.List;
import com.ruoyi.robot.domain.InterfaceSetting;

/**
 * 接口配置Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-23
 */
public interface InterfaceSettingMapper 
{
    /**
     * 查询接口配置
     * 
     * @param interfaceName 接口配置主键
     * @return 接口配置
     */
    public InterfaceSetting selectInterfaceSettingByInterfaceName(String interfaceName);

    /**
     * 查询接口配置列表
     * 
     * @param interfaceSetting 接口配置
     * @return 接口配置集合
     */
    public List<InterfaceSetting> selectInterfaceSettingList(InterfaceSetting interfaceSetting);

    /**
     * 新增接口配置
     * 
     * @param interfaceSetting 接口配置
     * @return 结果
     */
    public int insertInterfaceSetting(InterfaceSetting interfaceSetting);

    /**
     * 修改接口配置
     * 
     * @param interfaceSetting 接口配置
     * @return 结果
     */
    public int updateInterfaceSetting(InterfaceSetting interfaceSetting);

    /**
     * 删除接口配置
     * 
     * @param interfaceName 接口配置主键
     * @return 结果
     */
    public int deleteInterfaceSettingByInterfaceName(String interfaceName);

    /**
     * 批量删除接口配置
     * 
     * @param interfaceNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInterfaceSettingByInterfaceNames(String[] interfaceNames);
}
